package cn.tedu._05mvcboot02.mapper;


import cn.tedu._05mvcboot02.pojo.entity.User;
import cn.tedu._05mvcboot02.pojo.vo.UserListVO;
import cn.tedu._05mvcboot02.pojo.vo.UserinfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Controller;

import java.util.List;

//@Mapper

public interface UserMapper {
    int insertUser(User user);
    List<UserListVO> selectUserList();

    int deleteUserById(Integer id);

    //修改用户接口
    int updateUserById(User user);


    UserinfoVO selectUserInfoById(int id);
}
